package com.swp.oa.sys.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LoginLimitExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LoginLimitExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLoginlimitidIsNull() {
            addCriterion("LoginLimitId is null");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidIsNotNull() {
            addCriterion("LoginLimitId is not null");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidEqualTo(String value) {
            addCriterion("LoginLimitId =", value, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidNotEqualTo(String value) {
            addCriterion("LoginLimitId <>", value, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidGreaterThan(String value) {
            addCriterion("LoginLimitId >", value, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidGreaterThanOrEqualTo(String value) {
            addCriterion("LoginLimitId >=", value, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidLessThan(String value) {
            addCriterion("LoginLimitId <", value, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidLessThanOrEqualTo(String value) {
            addCriterion("LoginLimitId <=", value, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidLike(String value) {
            addCriterion("LoginLimitId like", value, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidNotLike(String value) {
            addCriterion("LoginLimitId not like", value, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidIn(List<String> values) {
            addCriterion("LoginLimitId in", values, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidNotIn(List<String> values) {
            addCriterion("LoginLimitId not in", values, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidBetween(String value1, String value2) {
            addCriterion("LoginLimitId between", value1, value2, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andLoginlimitidNotBetween(String value1, String value2) {
            addCriterion("LoginLimitId not between", value1, value2, "loginlimitid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("UserId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("UserId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("UserId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("UserId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("UserId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("UserId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("UserId like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("UserId not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("UserId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("UserId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("UserId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("UserId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andLoginenabledIsNull() {
            addCriterion("LoginEnabled is null");
            return (Criteria) this;
        }

        public Criteria andLoginenabledIsNotNull() {
            addCriterion("LoginEnabled is not null");
            return (Criteria) this;
        }

        public Criteria andLoginenabledEqualTo(String value) {
            addCriterion("LoginEnabled =", value, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledNotEqualTo(String value) {
            addCriterion("LoginEnabled <>", value, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledGreaterThan(String value) {
            addCriterion("LoginEnabled >", value, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledGreaterThanOrEqualTo(String value) {
            addCriterion("LoginEnabled >=", value, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledLessThan(String value) {
            addCriterion("LoginEnabled <", value, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledLessThanOrEqualTo(String value) {
            addCriterion("LoginEnabled <=", value, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledLike(String value) {
            addCriterion("LoginEnabled like", value, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledNotLike(String value) {
            addCriterion("LoginEnabled not like", value, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledIn(List<String> values) {
            addCriterion("LoginEnabled in", values, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledNotIn(List<String> values) {
            addCriterion("LoginEnabled not in", values, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledBetween(String value1, String value2) {
            addCriterion("LoginEnabled between", value1, value2, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andLoginenabledNotBetween(String value1, String value2) {
            addCriterion("LoginEnabled not between", value1, value2, "loginenabled");
            return (Criteria) this;
        }

        public Criteria andIplimitedIsNull() {
            addCriterion("IpLimited is null");
            return (Criteria) this;
        }

        public Criteria andIplimitedIsNotNull() {
            addCriterion("IpLimited is not null");
            return (Criteria) this;
        }

        public Criteria andIplimitedEqualTo(String value) {
            addCriterion("IpLimited =", value, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedNotEqualTo(String value) {
            addCriterion("IpLimited <>", value, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedGreaterThan(String value) {
            addCriterion("IpLimited >", value, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedGreaterThanOrEqualTo(String value) {
            addCriterion("IpLimited >=", value, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedLessThan(String value) {
            addCriterion("IpLimited <", value, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedLessThanOrEqualTo(String value) {
            addCriterion("IpLimited <=", value, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedLike(String value) {
            addCriterion("IpLimited like", value, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedNotLike(String value) {
            addCriterion("IpLimited not like", value, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedIn(List<String> values) {
            addCriterion("IpLimited in", values, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedNotIn(List<String> values) {
            addCriterion("IpLimited not in", values, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedBetween(String value1, String value2) {
            addCriterion("IpLimited between", value1, value2, "iplimited");
            return (Criteria) this;
        }

        public Criteria andIplimitedNotBetween(String value1, String value2) {
            addCriterion("IpLimited not between", value1, value2, "iplimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedIsNull() {
            addCriterion("TimeLimited is null");
            return (Criteria) this;
        }

        public Criteria andTimelimitedIsNotNull() {
            addCriterion("TimeLimited is not null");
            return (Criteria) this;
        }

        public Criteria andTimelimitedEqualTo(String value) {
            addCriterion("TimeLimited =", value, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedNotEqualTo(String value) {
            addCriterion("TimeLimited <>", value, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedGreaterThan(String value) {
            addCriterion("TimeLimited >", value, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedGreaterThanOrEqualTo(String value) {
            addCriterion("TimeLimited >=", value, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedLessThan(String value) {
            addCriterion("TimeLimited <", value, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedLessThanOrEqualTo(String value) {
            addCriterion("TimeLimited <=", value, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedLike(String value) {
            addCriterion("TimeLimited like", value, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedNotLike(String value) {
            addCriterion("TimeLimited not like", value, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedIn(List<String> values) {
            addCriterion("TimeLimited in", values, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedNotIn(List<String> values) {
            addCriterion("TimeLimited not in", values, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedBetween(String value1, String value2) {
            addCriterion("TimeLimited between", value1, value2, "timelimited");
            return (Criteria) this;
        }

        public Criteria andTimelimitedNotBetween(String value1, String value2) {
            addCriterion("TimeLimited not between", value1, value2, "timelimited");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayIsNull() {
            addCriterion("AllowedBeginTimeOfDay is null");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayIsNotNull() {
            addCriterion("AllowedBeginTimeOfDay is not null");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayEqualTo(String value) {
            addCriterion("AllowedBeginTimeOfDay =", value, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayNotEqualTo(String value) {
            addCriterion("AllowedBeginTimeOfDay <>", value, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayGreaterThan(String value) {
            addCriterion("AllowedBeginTimeOfDay >", value, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayGreaterThanOrEqualTo(String value) {
            addCriterion("AllowedBeginTimeOfDay >=", value, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayLessThan(String value) {
            addCriterion("AllowedBeginTimeOfDay <", value, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayLessThanOrEqualTo(String value) {
            addCriterion("AllowedBeginTimeOfDay <=", value, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayLike(String value) {
            addCriterion("AllowedBeginTimeOfDay like", value, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayNotLike(String value) {
            addCriterion("AllowedBeginTimeOfDay not like", value, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayIn(List<String> values) {
            addCriterion("AllowedBeginTimeOfDay in", values, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayNotIn(List<String> values) {
            addCriterion("AllowedBeginTimeOfDay not in", values, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayBetween(String value1, String value2) {
            addCriterion("AllowedBeginTimeOfDay between", value1, value2, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedbegintimeofdayNotBetween(String value1, String value2) {
            addCriterion("AllowedBeginTimeOfDay not between", value1, value2, "allowedbegintimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayIsNull() {
            addCriterion("AllowedEndTimeOfDay is null");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayIsNotNull() {
            addCriterion("AllowedEndTimeOfDay is not null");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayEqualTo(String value) {
            addCriterion("AllowedEndTimeOfDay =", value, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayNotEqualTo(String value) {
            addCriterion("AllowedEndTimeOfDay <>", value, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayGreaterThan(String value) {
            addCriterion("AllowedEndTimeOfDay >", value, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayGreaterThanOrEqualTo(String value) {
            addCriterion("AllowedEndTimeOfDay >=", value, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayLessThan(String value) {
            addCriterion("AllowedEndTimeOfDay <", value, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayLessThanOrEqualTo(String value) {
            addCriterion("AllowedEndTimeOfDay <=", value, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayLike(String value) {
            addCriterion("AllowedEndTimeOfDay like", value, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayNotLike(String value) {
            addCriterion("AllowedEndTimeOfDay not like", value, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayIn(List<String> values) {
            addCriterion("AllowedEndTimeOfDay in", values, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayNotIn(List<String> values) {
            addCriterion("AllowedEndTimeOfDay not in", values, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayBetween(String value1, String value2) {
            addCriterion("AllowedEndTimeOfDay between", value1, value2, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andAllowedendtimeofdayNotBetween(String value1, String value2) {
            addCriterion("AllowedEndTimeOfDay not between", value1, value2, "allowedendtimeofday");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNull() {
            addCriterion("CreateDate is null");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNotNull() {
            addCriterion("CreateDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedateEqualTo(Date value) {
            addCriterion("CreateDate =", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotEqualTo(Date value) {
            addCriterion("CreateDate <>", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThan(Date value) {
            addCriterion("CreateDate >", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateDate >=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThan(Date value) {
            addCriterion("CreateDate <", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThanOrEqualTo(Date value) {
            addCriterion("CreateDate <=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateIn(List<Date> values) {
            addCriterion("CreateDate in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotIn(List<Date> values) {
            addCriterion("CreateDate not in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateBetween(Date value1, Date value2) {
            addCriterion("CreateDate between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotBetween(Date value1, Date value2) {
            addCriterion("CreateDate not between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("Version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("Version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Integer value) {
            addCriterion("Version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Integer value) {
            addCriterion("Version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Integer value) {
            addCriterion("Version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
            addCriterion("Version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Integer value) {
            addCriterion("Version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Integer value) {
            addCriterion("Version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Integer> values) {
            addCriterion("Version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Integer> values) {
            addCriterion("Version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Integer value1, Integer value2) {
            addCriterion("Version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Integer value1, Integer value2) {
            addCriterion("Version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andUpdatedateIsNull() {
            addCriterion("UpdateDate is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedateIsNotNull() {
            addCriterion("UpdateDate is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedateEqualTo(Date value) {
            addCriterion("UpdateDate =", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateNotEqualTo(Date value) {
            addCriterion("UpdateDate <>", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateGreaterThan(Date value) {
            addCriterion("UpdateDate >", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateDate >=", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateLessThan(Date value) {
            addCriterion("UpdateDate <", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateLessThanOrEqualTo(Date value) {
            addCriterion("UpdateDate <=", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateIn(List<Date> values) {
            addCriterion("UpdateDate in", values, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateNotIn(List<Date> values) {
            addCriterion("UpdateDate not in", values, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateBetween(Date value1, Date value2) {
            addCriterion("UpdateDate between", value1, value2, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateNotBetween(Date value1, Date value2) {
            addCriterion("UpdateDate not between", value1, value2, "updatedate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}